Skip to content

Streamline installation, upgrades, and first-run setup - #329

Merged
robzolkos merged 12 commits into
mainfrom
add-mise-install-readme
Aug 25, 2026
Merged

Streamline installation, upgrades, and first-run setup#329
robzolkos merged 12 commits into
mainfrom
add-mise-install-readme

Conversation

@robzolkos

@robzolkos robzolkos commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Intent

Make HEY straightforward to install and set up from start to finish, while respecting package-manager ownership and leaving optional integrations under the user’s control.

Changes

  • document mise and Omarchy installation
  • safely delegate mise-managed upgrades back to mise
  • make hey setup configure detected agents and Omarchy automatically
  • add flags and removal commands for optional integrations
  • keep installer and setup output concise
  • clone the public Claude plugin over HTTPS so setup works without GitHub SSH configuration

Testing

  • GOWORK=off go test ./internal/...
  • GOWORK=off make lint
  • bats tests/e2e/installer.bats — 39 passing
  • CLI surface snapshot

Copilot AI balanced review requested due to automatic review settings August 25, 2026 16:08
@robzolkos
robzolkos requested a review from a team as a code owner August 25, 2026 16:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds mise installation documentation and delegates upgrades for mise-managed binaries.

Changes:

  • Detects mise ownership and updates the active mise configuration.
  • Supports pinned and prerelease versions with post-upgrade verification.
  • Adds mise upgrade tests and documentation.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
README.md Documents mise installation and upgrade behavior.
internal/cmd/upgrade.go Implements mise detection, delegation, and verification.
internal/cmd/upgrade_test.go Tests mise upgrade and ownership scenarios.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread internal/cmd/upgrade.go Outdated
Comment thread internal/cmd/upgrade.go Outdated
@github-actions

Copy link
Copy Markdown

Sensitive Change Detection (shadow mode)

This PR modifies control-plane files:

  • scripts/install.ps1
  • scripts/install.sh

Shadow mode — this check is informational only. When activated, changes to these paths will require approval from a maintainer.

@robzolkos

Copy link
Copy Markdown
Collaborator Author

Addressed both inline review comments in f55ee50: pinned mise upgrades now confirm the exact requested version, and recovery commands shell-quote configuration paths safely.

@robzolkos
robzolkos force-pushed the add-mise-install-readme branch from bbfcc64 to 936dfdd Compare August 25, 2026 20:14
@robzolkos robzolkos changed the title Support mise installs and upgrades Streamline installation, upgrades, and first-run setup Aug 25, 2026
@robzolkos
robzolkos force-pushed the add-mise-install-readme branch 6 times, most recently from e518c52 to 547ccb3 Compare August 25, 2026 21:32
@robzolkos
robzolkos force-pushed the add-mise-install-readme branch 2 times, most recently from ad17ab5 to 62af178 Compare August 25, 2026 22:08
Review fixes for hey setup agents --remove and its docs:

- removeOwnedSkillFiles now Lstats the directory and declines a symlink
  or non-directory the way every other skill write path does
  (claimSkillDir, writeSkillFile), so removal can never delete managed
  files through a user's symlink target. A real Lstat failure surfaces
  as an error instead of a silent skip.
- Cover the setup_remove_failed failure aggregation: a failing
  `claude plugin uninstall` and a missing claude binary both name the
  failing component in the error, and the symlink refusal keeps the
  target's files intact.
- docs/omarchy.md no longer promises a literal "Step 3" now that wizard
  step numbers are assigned dynamically to the steps that actually run.
@robzolkos
robzolkos force-pushed the add-mise-install-readme branch from 62af178 to 0612a03 Compare August 25, 2026 22:17
@robzolkos
robzolkos merged commit 579541c into main Aug 25, 2026
33 checks passed
@robzolkos
robzolkos deleted the add-mise-install-readme branch August 25, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants